package com.erju.pojo.VO;

import com.alibaba.fastjson.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

/**
 * 预约详情VO
 * 传回预约日期以及是否已经预约
 *
 * @Description: 11
 * @author: erju
 * @date: 2022.03.28
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class AppointmentDetailVo implements Serializable {
    private static final long serialVersionUID = 1L;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date date;
    private Integer useflag;
    private int[][] seat;

    public AppointmentDetailVo(Date date, Integer useflag) {
        this.date = date;
        this.useflag = useflag;
    }
}
